Repository navigation
chore: remove Gotenberg basic auth on SKE - #645
raphael-arce wants to merge 1 commit into
Conversation
The NetworkPolicy already lets only the backend reach Gotenberg, so the credentials add nothing. Drop --api-enable-basic-auth, Gotenberg's env Secret and the backend's GOTENBERG_API_BASIC_AUTH_* vars. Local dev can no longer use the remote Gotenberg, so compose.yml gets a gotenberg service that the backend's predev script starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. WalkthroughThe backend no longer uses Basic authentication for Gotenberg. Local development now starts Gotenberg through Compose. Kubernetes deployment and secret-sync scripts no longer configure or synchronize a Gotenberg Secret. ChangesGotenberg Runtime
Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Suggested reviewers: Merge Risk:
|
Stacked on #641.
Asana: https://app.asana.com/1/1201970074282735/project/1208836734369129/task/1220625976899480
What
--api-enable-basic-auth. The NetworkPolicy already lets only the backend (and sandbox) reach it.sync-env-secrets.sh,render-and-apply.shand the SKE deploy workflow only handle the backend Secret.GOTENBERG_API_BASIC_AUTH_USERNAME/PASSWORDand sends noAuthorizationheader.compose.ymlhas agotenbergservice onlocalhost:3001. The backend'spredevscript starts it, sonpm run dev/turbo devstart it too.Before merging
GOTENBERG_URLin the prod 1Password note).BACKEND_TEST_ENVsetsNODE_ENV=test, so E2E uses the Gotenberg mock.After deploying
GOTENBERG_API_BASIC_AUTH_*from the staging, prod and sandbox 1Password notes.gotenberg-env-a/gotenberg-env-bSecrets in staging and prod.GOTENBERG_URL=http://localhost:3001inapps/backend/.env.Not changed
The Cloud Foundry Gotenberg (
infra/gotenberg/,gotenberg-deploy-stackit-cf.yml) keeps basic auth: it has a public route. A manual CF backend deploy now gets 401 from it. Remove the CF path in a follow-up.Tested
infra/k8s/deploy/*.sh,kubectl kustomizeon all overlays,tsc --noEmit.npm run predev: healthy,/forms/libreoffice/convertreturns a PDF.🤖 Generated with Claude Code
Summary by CodeRabbit
turbo dev. Docker is required.